/***************************************************************************
 *   This is a part of the NextCAD Web APP.                                *
 *   Copyright (C) AMCAX, All rights reserved.                             *
 ***************************************************************************/

import { CSCircle, CSLine, css2dInputLable } from '@amcax/base';

export enum State {
  NONE,
  DRAWONE,
  DRAWTWO,
  INPUT,
  FINISH,
}
export type MouseState =
  | State.NONE
  | State.DRAWONE
  | State.DRAWTWO
  | State.FINISH
  | State.INPUT;

export type MousePoint = {
  x: number;
  y: number;
};

export interface TrackingData {
  circle: CSCircle;
  rLine: CSLine;
  rLabel: css2dInputLable;
}
